package com.baizhi.dao;

import com.baizhi.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BannerDao {
    public List<Banner> selectBannerDatagrid(@Param("start")int start,@Param("rows")int rows);
    public int selectBannerCount();
    public void insert(Banner banner);

//    删除轮播图
    public void updateStatus(int[] ids);

    public List<Banner> getAllBanner();
}
